﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Csla;
using log4net;

namespace Sireass.Bl
{
    [Serializable]
    public class ProgramaCriteria: CriteriaBase<ProgramaCriteria>
    {
        #region Properties
        public static readonly PropertyInfo<long?> IdProgramaProperty = RegisterProperty<long?>(c => c.IdPrograma);
            public long? IdPrograma
            {
                get { return ReadProperty(IdProgramaProperty); }
                private set { LoadProperty(IdProgramaProperty, value); }
            }
            public static readonly PropertyInfo<long?> IdEscuelaProperty = RegisterProperty<long?>(c => c.IdEscuela);
            public long? IdEscuela
            {
                get { return ReadProperty(IdEscuelaProperty); }
                private set { LoadProperty(IdEscuelaProperty, value); }
            }
        #endregion

        #region Factory
            public ProgramaCriteria(long? idPrograma, long? idEscuela)
            {
                IdPrograma = idPrograma;
                IdEscuela = idEscuela;
            }
        #endregion

    }
}
